create basic api with app router